INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/cmsis/include/)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/cmsis_lib/include/)
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/cmsis_boot/)
						
SET(SRC_LIST source/adc.c
			source/clk.c
			source/crc.c
			source/ctimer.c
			source/fmc.c
			source/gpio.c
			source/i2c.c
			source/i2s.c
			source/pdma.c
			source/ps2.c
			source/pwm.c
			source/spi.c
			source/sys.c
			source/uart.c
			source/usbd.c
			source/wdt.c
			source/wwdt.c)

ADD_LIBRARY(cmsis_lib STATIC ${SRC_LIST})
